package com.edu.dao;

import com.edu.entity.Address;
import com.edu.entity.AddressEntity;

import java.util.List;


/**
 * com.edu.dao
 * 2024/7/15 8:53
 *
 * @author Fancy
 * @version 1.0
 */
public interface AddressesDao {

    Integer addAddress(AddressEntity address, Integer addAddressDetailId, int userId);

    List<Address> getAddressesByUserId(int userId);

    int deleteAddressById(int addressId);

    int updateReverseName(int addressId, AddressEntity address);
}
